```ts
// Button.stories.tsx

import React from 'react';

import { Story, Meta } from '@storybook/react';

import { Button, ButtonProps } from './Button';

//👇 Some function to demonstrate the behavior
const someFunction = (someValue: String) => {
  return `i am a ${someValue}`;
};

export default {
  title: 'Example/Button',
  component: Button,
  //👇 Creates specific argTypes
  argTypes: {
    backgroundColor: { control: 'color' },
  },
} as Meta;

export const ExampleStory: Story<ButtonProps> = (args) => {
  //👇 Destructure the label from the args object
  const { label } = args;

  //👇 Assigns the function result to a variable and pass it as a prop into the component
  const functionResult = someFunction(label);
  return <Button {...args} label={functionResult} />;
};
ExampleStory.args = {
  primary: true,
  size: 'small',
  label: 'button',
};
```